<?php
/**
 * 请求地址: /api/china
 * 请求方式: post
 * 请求参数: code:CN#10002
 * 返回格式: json
 * 返回数据: 如下
 */
$json = [
    'ywBanners' => [
        'mark' => '要闻首页banner列表',
        'dataType' => 1,
        'dataList' => [
            ['url' => '', 'title' => '', 'subTitle' => '', 'thumb' => ''],
        ],
    ],
    'ywTexts' => [
        'mark' => '要闻首页banner旁的文字列表',
        'dataType' => 1,
        'dataList' => [
            ['url' => '', 'title' => '', 'subTitle' => '', 'thumb' => ''],
        ],
    ],
    'ywDataList' => [
        'mark' => '要闻新闻数据列表',
        'dataType' => 2,
        'dataList' => [
            ['id' => '', 'title' => '', 'subTitle' => '', 'thumb' => ''],
        ],
    ],
    'ywEditorTopedList' => [
        'mark' => '要闻首页编辑推荐列表',
        'dataType' => 1,
        'dataList' => [
            ['url' => '', 'title' => '', 'subTitle' => '', 'thumb' => ''],
        ],
    ],
    'ywTagsTopedList' => [
        'mark' => '要闻首页热门标签列表',
        'dataType' => 1,
        'dataList' => [
            ['url' => '', 'title' => '', 'subTitle' => '', 'thumb' => ''],
        ],
    ],
    'ywVideosTopedList' => [
        'mark' => '要闻首页视频推荐列表',
        'dataType' => 1,
        'dataList' => [
            ['url' => '', 'title' => '', 'subTitle' => '', 'thumb' => ''],
        ],
    ],
];
echo json_encode($json);
